package com.lz.netty.consumer.common.utils.http;

import com.lz.netty.consumer.common.utils.DateUtils;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 部门表 sys_dept
 *
 * @author lz
 */
@Data
public class SstInf {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String snowflakeId;

    private String infId;

    private String infCode;

    /**
     * 父部门ID
     */
    private String parentId;


    /**
     * 祖级列表
     */
    private String ancestors;
    private String leader;
    /**
     * 部门名称
     */
    private String infName;
    private String infType;

    /**
     * 负责人
     */
    private String infInner;
    private String infEnv;
    private String calcType;
    private String calcDate = DateUtils.getCurr_YYYY_MM_DD();
    private String productType;
    private String optionType;
    private String infProperty;
    private String result;
    private String requestTime;
    private String responseTime;
    /**
     * 负责人
     */
    private String infRealEnv;
    /**
     * 负责人
     */
    private String infUrl;

    private String infFullUrl;

    /**
     * 联系电话
     */
    private String infRequest;

    /**
     * 邮箱
     */
    private String infResponse;

    private String infMethod;
    private String contentType;
    private String authorization;
    private String cookie;
    private String noLogin;
    private String paramType;
    private String paramSource;

    private boolean mcs;
    private int concurrency;
    private int round;
    private String timeOut;
    private double consumeTime;

    /**
     * 显示顺序
     */
    private String orderNum;
    /**
     * 部门状态:0正常,1停用
     */
    private String status;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag = "0";
    /**
     * 父部门名称
     */
    private String parentName;
    private String searchValue;

    /**
     * 创建者
     */
    private String createBy;

    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 更新时间
     */

    private String updateTime;
    /**
     * 备注
     */
    private String remark;
    private String reportId;

    private String reportType;
    private String reportName;
    private String reportVersion;

    private double maxConsumeTime;
    private double minConsumeTime;
    private double avgConsumeTime;
    private double count;
    private double successCount;
    private double failCount;
    private boolean success;
    private String path;
    private boolean recordVersion;
    private String compareResult;
    private String compareMsg;
    /**
     *
     */
    private List<SstInf> children = new ArrayList<SstInf>();

    public String getInfInner() {
        return infInner;
    }

    public void setInfInner(String infInner) {
        this.infInner = infInner;
    }

    public String getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(String requestTime) {
        this.requestTime = requestTime;
    }

    public double getMaxConsumeTime() {
        return maxConsumeTime;
    }

    public void setMaxConsumeTime(double maxConsumeTime) {
        this.maxConsumeTime = maxConsumeTime;
    }

    public double getMinConsumeTime() {
        return minConsumeTime;
    }

    public void setMinConsumeTime(double minConsumeTime) {
        this.minConsumeTime = minConsumeTime;
    }

    public double getAvgConsumeTime() {
        return avgConsumeTime;
    }

    public void setAvgConsumeTime(double avgConsumeTime) {
        this.avgConsumeTime = avgConsumeTime;
    }

    public double getCount() {
        return count;
    }

    public void setCount(double count) {
        this.count = count;
    }

    public double getSuccessCount() {
        return successCount;
    }

    public void setSuccessCount(double successCount) {
        this.successCount = successCount;
    }

    public double getFailCount() {
        return failCount;
    }

    public void setFailCount(double failCount) {
        this.failCount = failCount;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getResponseTime() {
        return responseTime;
    }

    public void setResponseTime(String responseTime) {
        this.responseTime = responseTime;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getCalcDate() {
        return calcDate;
    }

    public void setCalcDate(String calcDate) {
        this.calcDate = calcDate;
    }

    public String getReportType() {
        return reportType;
    }

    public void setReportType(String reportType) {
        this.reportType = reportType;
    }

    public String getInfProperty() {
        return infProperty;
    }

    public void setInfProperty(String infProperty) {
        this.infProperty = infProperty;
    }

    public String getReportId() {
        return reportId;
    }

    public void setReportId(String reportId) {
        this.reportId = reportId;
    }

    public String getReportName() {
        return reportName;
    }

    public void setReportName(String reportName) {
        this.reportName = reportName;
    }

    public String getReportVersion() {
        return reportVersion;
    }

    public void setReportVersion(String reportVersion) {
        this.reportVersion = reportVersion;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getOptionType() {
        return optionType;
    }

    public void setOptionType(String optionType) {
        this.optionType = optionType;
    }

    public String getCalcType() {
        return calcType;
    }

    public void setCalcType(String calcType) {
        this.calcType = calcType;
    }

    public String getSearchValue() {
        return searchValue;
    }

    public void setSearchValue(String searchValue) {
        this.searchValue = searchValue;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }


    public String getParamType() {
        return paramType;
    }

    public void setParamType(String paramType) {
        this.paramType = paramType;
    }

    public String getParamSource() {
        return paramSource;
    }

    public void setParamSource(String paramSource) {
        this.paramSource = paramSource;
    }

    public int getConcurrency() {
        return concurrency;
    }

    public void setConcurrency(int concurrency) {
        this.concurrency = concurrency;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public List<SstInf> getChildren() {
        return children;
    }

    public void setChildren(List<SstInf> children) {
        this.children = children;
    }


    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }


    public String getInfId() {
        return infId;
    }

    public void setInfId(String infId) {
        this.infId = infId;
    }

    public String getInfType() {
        return infType;
    }

    public void setInfType(String infType) {
        this.infType = infType;
    }

    public String getInfCode() {
        return infCode;
    }

    public void setInfCode(String infCode) {
        this.infCode = infCode;
    }

    public String getInfName() {
        return infName;
    }

    public void setInfName(String infName) {
        this.infName = infName;
    }

    public String getInfUrl() {
        return infUrl;
    }

    public void setInfUrl(String infUrl) {
        this.infUrl = infUrl;
    }

    public String getInfRequest() {
        return infRequest;
    }

    public void setInfRequest(String infRequest) {
        this.infRequest = infRequest;
    }

    public String getInfResult() {
        return infResponse;
    }

    public void setInfResult(String infResponse) {
        this.infResponse = infResponse;
    }

    public String getInfMethod() {
        return infMethod;
    }

    public void setInfMethod(String infMethod) {
        this.infMethod = infMethod;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getAuthorization() {
        return authorization;
    }

    public void setAuthorization(String authorization) {
        this.authorization = authorization;
    }

    public String getCookie() {
        return cookie;
    }

    public void setCookie(String cookie) {
        this.cookie = cookie;
    }

    public String getNoLogin() {
        return noLogin;
    }

    public void setNoLogin(String noLogin) {
        this.noLogin = noLogin;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }


    public String getInfEnv() {
        return infEnv;
    }

    public void setInfEnv(String infEnv) {
        this.infEnv = infEnv;
    }

    public String getInfFullUrl() {
        return infFullUrl;
    }

    public void setInfFullUrl(String infFullUrl) {
        this.infFullUrl = infFullUrl;
    }

    public String getInfRealEnv() {
        return infRealEnv;
    }

    public void setInfRealEnv(String infRealEnv) {
        this.infRealEnv = infRealEnv;
    }

    public boolean getMcs() {
        return mcs;
    }

    public void setMcs(boolean mcs) {
        this.mcs = mcs;
    }

    public boolean isMcs() {
        return mcs;
    }

    public double getConsumeTime() {
        return consumeTime;
    }

    public void setConsumeTime(double consumeTime) {
        this.consumeTime = consumeTime;
    }

    public String getSnowflakeId() {
        return snowflakeId;
    }

    public void setSnowflakeId(String snowflakeId) {
        this.snowflakeId = snowflakeId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
